<?php
/**
 * Created by PhpStorm.
 * User: zch
 * Date: 2017/7/20
 * Time: 10:42
 */
require_once "Context.php";
require "ConcreteStrategyA.php";
require "ConcreteStrategyB.php";
require "ConcreteStrategyC.php";

$context = new Context(new ConcreteStrategyA());
$context->ContextInterface();

$context = new Context(new ConcreteStrategyB());
$context->ContextInterface();

$context = new Context(new ConcreteStrategyC());
$context->ContextInterface();